package cn.com.headfree.staffing.dao.impl;

import cn.com.headfree.entity.TStaffingStandard;
import cn.com.headfree.staffing.dao.IStaffingDao;
import cn.com.headfree.staffing.dao.IStaffingDao;
import com.gta.edu.sdk.base.dao.impl.BaseDaoImpl;
import com.gta.edu.sdk.common.dto.Page;
import org.springframework.stereotype.Repository;

import java.util.ArrayList;

/**
 * @Description: TODO
 * @Author wcSun
 * @Date 2021/12/31
 **/
@Repository("staffingDao")
public class StaffingDaoImpl extends BaseDaoImpl<TStaffingStandard> implements IStaffingDao {

    @Override
    public void standard(Page<TStaffingStandard> page){
        String sql = "  select t.* from t_staffing_standard t  " ;
        StringBuilder sqlBuilder = new StringBuilder(sql);
        ArrayList<Object> arrayList = new ArrayList<Object>();
        this.findPageBySql(TStaffingStandard.class, sqlBuilder.toString(), page, arrayList.toArray());
    }
}
